# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=xr-hardware
pkgver=1.0.0
pkgrel=0
pkgdesc="Hardware description for XR devices"
url="https://gitlab.freedesktop.org/monado/utilities/xr-hardware"
arch="noarch"
license="BSL-1.0"
depends="eudev"
makedepends="
	python3
	py3-attrs
	"
checkdepends="py3-flake8"
source="https://gitlab.freedesktop.org/monado/utilities/xr-hardware/-/archive/$pkgver/xr-hardware-$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install_package
}

sha512sums="
952c47ca5ca5cb333ce40948fa00c263aa341eb4c6abcc85d6857442a5a1289cb670e31ad575cb562ca880b4f7311cf45d4c44bfd34847cadd1f6ac7a782a994  xr-hardware-1.0.0.tar.gz
"
